
const utils = {
    setToken(token) {
        sessionStorage.setItem('dlyk_token', token)
        localStorage.setItem('dlyk_token', token)
    },
    getToken() {
        return sessionStorage.getItem('dlyk_token') || localStorage.getItem('dlyk_token')
    },
    removeToken(){
        sessionStorage.removeItem('dlyk_token')
        localStorage.removeItem('dlyk_token')
    },
}


export default utils

